package com.atguigu.map;

import java.io.FileInputStream;
import java.util.Properties;

public class PropertiesTest {
    public static void main(String[] args) throws Exception {
        Properties properties=new Properties();
        FileInputStream fis=new FileInputStream("jdbc.properties");
        properties.load(fis);
        System.out.println(properties.getProperty("name"));
    }
}
